define(
	[
		'require',
		'./allserver_ctrl',
		'./follow_ctrl'
	],
	function(require){
		var Controller = Ember.Controller.extend({
			needs: ["serviceServerAllserver","serviceServerFollow"],

			serviceFocusFollow: Ember.computed.alias('controllers.serviceServerFollow.serviceFocus'),

			serviceAllFollow: Ember.computed.alias('controllers.serviceServerFollow.serviceAll'),

			serviceFocusAll: Ember.computed.alias('controllers.serviceServerAllserver.serviceFocus'),

			serviceAllAll: Ember.computed.alias('controllers.serviceServerAllserver.serviceAll'),

			serviceFocusAllsChange: Ember.observer("serviceFocusAll",function(){
				this.set("serviceFocus",this.get("serviceFocusAll"));
			}),

			serviceFocusFollowChange: Ember.observer("serviceFocusFollow",function(){
				this.set("serviceFocus",this.get("serviceFocusFollow"));
			}),

			serviceAllAllsChange: Ember.observer("serviceAllAll",function(){
				this.set("serviceAll",this.get("serviceAllAll"));
			}),
			
			serviceAllFollowChange: Ember.observer("serviceAllFollow",function(){
				this.set("serviceAll",this.get("serviceAllFollow"));
			})
		});
	
		APM.ServiceServerController = Controller;

		return Controller;
	}
);	